{extends file="get_usermod:layouts/main/layout.html"} {block name="content"}
{function hsiTextInput label='' fieldname='' id='' value='' maxlength=20 minlength=0 shortenedFrom='' tooltip='' required='false'} {if $required === 'true' && $tooltip === ''}{$tooltip = $txt.hermeshsi_required_input}{/if}
{$label}
{if $shortenedFrom}
{$txt.hermeshsi_original_value}: {$shortenedFrom}
{/if}
{if $tooltip}
{$tooltip}
{/if}
{/function} {function hsiNumberInput label='' fieldname='' id='' value='' minvalue=0 maxvalue=1000 step=1}
{$label}
{/function} {function hsiSelectInput label='' fieldname='' id='' value='' options=[]}
{$label}
{/function} {function hsiPresetButtons}
{$txt.hermeshsi_parcel_presets}
{/function} {load_language_text section="module_center_module"}
{if $content.shipmentOrders}
{$txt.hermeshsi_existing_shipmentorders}

{$txt.hermeshsi_shipment_order_number} | {$txt.hermeshsi_shipment_id} | {$txt.hermeshsi_shipment_create_date} | {$txt.hermeshsi_shipment_actual_order_state} | {$txt.hermeshsi_label}
--- | --- | --- | --- | ---
{foreach $content.shipmentOrders as $shipmentOrder}
{$shipmentOrder.shipment_id}{* shipmentOrderID *} {if $shipmentOrder.status} | {$shipmentOrder.status.shipmentID}{* shipmentID *} | {$shipmentOrder.status.createDate} {assign "statuskey" "hermeshsi_status_{$shipmentOrder.status.actualOrderState}"} | {if $txt.$statuskey}{$txt.$statuskey}{else}{$shipmentOrder.status.actualOrderState}{/if} {else} | {$txt.hermeshsi_shipmentorder_status_unknown} {/if} | {$txt.hermeshsi_labelbutton}
{/foreach}

{/if}
{$txt.hermeshsi_receiver} {hsiSelectInput label=$txt.hermeshsi_receiver_gender fieldname='receiverNameGender' id='hsi-receiver-gender' value=$content.formData.receiverNameGender options=$content.genderOptions} {hsiTextInput maxlength=20 label=$txt.hermeshsi_receiver_title fieldname='receiverNameTitle' id='hsi-receiver-title' value=$content.formdata.receiverNameTitle shortenedFrom=$content.shortenedValues.receiverNameTitle} {hsiTextInput maxlength=20 label=$txt.hermeshsi_receiver_firstname fieldname='receiverNameFirstname' id='hsi-receiver-firstname' value=$content.formData.receiverNameFirstname shortenedFrom=$content.shortenedValues.receiverNameFirstname} {hsiTextInput maxlength=20 label=$txt.hermeshsi_receiver_middlename fieldname='receiverNameMiddlename' id='hsi-receiver-middlename' value=$content.formData.receiverNameMiddlename shortenedFrom=$content.shortenedValues.receiverNameMiddlename} {hsiTextInput maxlength=30 label=$txt.hermeshsi_receiver_lastname fieldname='receiverNameLastname' id='hsi-receiver-lastname' value=$content.formData.receiverNameLastname shortenedFrom=$content.shortenedValues.receiverNameLastname required='true'} {hsiTextInput maxlength=27 label=$txt.hermeshsi_receiver_street fieldname='receiverAddressStreet' id='hsi-receiver-street' value=$content.formData.receiverAddressStreet shortenedFrom=$content.shortenedValues.receiverAddressStreet required='true'} {hsiTextInput maxlength=5 label=$txt.hermeshsi_receiver_housenumber fieldname='receiverAddressHouseNumber' id='hsi-receiver-housenumber' value=$content.formData.receiverAddressHouseNumber shortenedFrom=$content.shortenedValues.receiverAddressHouseNumber tooltip=$txt.hermeshsi_receiver_housenumber_tooltip} {hsiTextInput maxlength=8 label=$txt.hermeshsi_receiver_zipcode fieldname='receiverAddressZipCode' id='hsi-receiver-zipcode' value=$content.formData.receiverAddressZipCode shortenedFrom=$content.shortenedValues.receiverAddressZipCode required='true'} {hsiTextInput maxlength=30 label=$txt.hermeshsi_receiver_town fieldname='receiverAddressTown' id='hsi-receiver-town' value=$content.formData.receiverAddressTown shortenedFrom=$content.shortenedValues.receiverAddressTown required='true'} {hsiSelectInput label=$txt.hermeshsi_receiver_countrycode fieldname='receiverAddressCountryCode' id='hsi-receiver-countrycode' value=$content.formData.receiverAddressCountryCode options=$content.countries} {hsiTextInput maxlength=20 label=$txt.hermeshsi_receiver_addressaddition fieldname='receiverAddressAddressAddition' id='hsi-receiver-addressaddition' value=$content.formData.receiverAddressAddressAddition shortenedFrom=$content.shortenedValues.receiverAddressAddressAddition} {hsiTextInput maxlength=20 label=$txt.hermeshsi_receiver_addressaddition2 fieldname='receiverAddressAddressAddition2' id='hsi-receiver-addressaddition2' value=$content.formData.receiverAddressAddressAddition2 shortenedFrom=$content.shortenedValues.receiverAddressAddressAddition2} {hsiTextInput maxlength=20 label=$txt.hermeshsi_receiver_addressaddition3 fieldname='receiverAddressAddressAddition3' id='hsi-receiver-addressaddition3' value=$content.formData.receiverAddressAddressAddition3 shortenedFrom=$content.shortenedValues.receiverAddressAddressAddition3} {hsiTextInput maxlength=200 tooltip=$txt.hermeshsi_receiver_contact_tooltip label=$txt.hermeshsi_receiver_contactmail fieldname='receiverContactMail' id='hsi-receiver-contactmail' value=$content.formData.receiverContactMail} {hsiTextInput maxlength=20 tooltip=$txt.hermeshsi_receiver_contact_tooltip label=$txt.hermeshsi_receiver_contactmobile fieldname='receiverContactMobile' id='hsi-receiver-contactmobile' value=$content.formData.receiverContactMobile} {hsiTextInput maxlength=20 tooltip=$txt.hermeshsi_receiver_contact_tooltip label=$txt.hermeshsi_receiver_contactphone fieldname='receiverContactPhone' id='hsi-receiver-contactphone' value=$content.formData.receiverContactPhone}
{$txt.hermeshsi_parcel} {hsiSelectInput label=$txt.hermeshsi_parcel_class fieldname='parcelClass' id='hsi-parcel-class' value=$content.formData.parcelClass options=$content.parcelClasses} {hsiPresetButtons} {hsiNumberInput label=$txt.hermeshsi_parcel_height fieldname='parcelHeight' id='hsi-parcel-height' value=$content.formData.parcelHeight minvalue=0 maxvalue=10000 step=1} {hsiNumberInput label=$txt.hermeshsi_parcel_width fieldname='parcelWidth' id='hsi-parcel-width' value=$content.formData.parcelWidth minvalue=0 maxvalue=10000 step=1} {hsiNumberInput label=$txt.hermeshsi_parcel_depth fieldname='parcelDepth' id='hsi-parcel-depth' value=$content.formData.parcelDepth minvalue=0 maxvalue=10000 step=1} {hsiNumberInput label=$txt.hermeshsi_parcel_weight fieldname='parcelWeight' id='hsi-parcel-weight' value=$content.formData.parcelWeight minvalue=0 maxvalue=32000 step=1}
{$txt.hermeshsi_services} {hsiNumberInput label="{$txt.hermeshsi_cod_amount} ({$content.orderCurrency})" fieldname='serviceCodAmount' id='hsi-service-codamount' value=$content.formData.codAmount minvalue=0 maxvalue=10000 step=0.01} {hsiTextInput maxlength=70 label=$txt.hermeshsi_notification_email fieldname="notificationEmail" id="hsi-notification-email" value=$content.formData.notificationEmail}
{$txt.hermeshsi_sender} {hsiSelectInput label=$txt.hermeshsi_sender_gender fieldname='senderNameGender' id='hsi-sender-gender' value=$content.formData.senderNameGender options=$content.genderOptions} {hsiTextInput maxlength=20 label=$txt.hermeshsi_sender_title fieldname='senderNameTitle' id='hsi-sender-title' value=$content.formData.senderNameTitle} {hsiTextInput maxlength=20 label=$txt.hermeshsi_sender_firstname fieldname='senderNameFirstname' id='hsi-sender-firstname' value=$content.formData.senderNameFirstname} {hsiTextInput maxlength=20 label=$txt.hermeshsi_sender_middlename fieldname='senderNameMiddlename' id='hsi-sender-middlename' value=$content.formData.senderNameMiddlename} {hsiTextInput maxlength=30 label=$txt.hermeshsi_sender_lastname fieldname='senderNameLastname' id='hsi-sender-lastname' value=$content.formData.senderNameLastname required='true'} {hsiTextInput maxlength=27 label=$txt.hermeshsi_sender_street fieldname='senderAddressStreet' id='hsi-sender-street' value=$content.formData.senderAddressStreet required='true'} {hsiTextInput maxlength=5 label=$txt.hermeshsi_sender_housenumber fieldname='senderAddressHouseNumber' id='hsi-sender-housenumber' value=$content.formData.senderAddressHouseNumber required='true'} {hsiTextInput maxlength=8 label=$txt.hermeshsi_sender_zipcode fieldname='senderAddressZipCode' id='hsi-sender-zipcode' value=$content.formData.senderAddressZipCode required='true'} {hsiTextInput maxlength=30 label=$txt.hermeshsi_sender_town fieldname='senderAddressTown' id='hsi-sender-town' value=$content.formData.senderAddressTown required='true'} {hsiSelectInput label=$txt.hermeshsi_sender_countrycode fieldname='senderAddressCountryCode' id='hsi-sender-countrycode' value=$content.formData.senderAddressCountryCode options=$content.countries} {hsiTextInput maxlength=20 label=$txt.hermeshsi_sender_addressaddition fieldname='senderAddressAddressAddition' id='hsi-sender-addressaddition' value=$content.formData.senderAddressAddressAddition} {hsiTextInput maxlength=20 label=$txt.hermeshsi_sender_addressaddition2 fieldname='senderAddressAddressAddition2' id='hsi-sender-addressaddition2' value=$content.formData.senderAddressAddressAddition2} {hsiTextInput maxlength=20 label=$txt.hermeshsi_sender_addressaddition3 fieldname='senderAddressAddressAddition3' id='hsi-sender-addressaddition3' value=$content.formData.senderAddressAddressAddition3}
{/block}